package com.aaa.cs;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * fileName:ConfigApp
 * description:配置中心服务端启动类
 * author: Mr.Ge
 * createTime:2020/11/21 9:27
 * version:1.0.0
 */
@SpringBootApplication
@EnableConfigServer   //开启配置中心的服务端功能
public class ConfigApp {
    public static void main(String[] args) {
        SpringApplication.run(ConfigApp.class,args);
    }
}
